You need to call the methods to get anything useful: print (prices.keys()) However, in python3.x, this still isn't particularly nice for printing since it'll print extra junk that you probably don't want to see. You might want to consider usin